home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / progut~1 / stdwin.zoo / gen / Makefile < prev    next >
Encoding:
Makefile  |  1989-10-17  |  2.6 KB  |  108 lines

  1. # Begin Generic
  2. STDWIN=        ..
  3. CONF=        $(STDWIN)/conf
  4. H=        $(STDWIN)/h
  5. TOOLS=        $(STDWIN)/tools
  6. ALFA=        $(STDWIN)/alfa
  7. MG1=        $(STDWIN)/mg1
  8. X11=        $(STDWIN)/x11
  9. X11LIBS=    $(X11)/lib.a $(LIBX11)
  10. LIBX11=        $(LIBXLIB)/libX11.a
  11. LIBXT=        $(LIBXLIB)/libXaw.a $(LIBXLIB)/libXt.a
  12. XTLIBS=        $(STDWIN)/xt/lib.a $(LIBXT) $(LIBX11)
  13. STUBS=        $(STDWIN)/stubs
  14. INCLUDES=    -I$(H) $(SYSINCLUDES) $(SITEINCLUDES) $(LINCLUDES)
  15. DEFS=        $(SYSDEFS) $(SITEDEFS) $(LDEFS)
  16. CPPFLAGS=    $(DEFS) $(INCLUDES)
  17. OPTIONS=    $(SYSOPTIONS) $(SITEOPTIONS) $(LOPTIONS)
  18. CFLAGS=        $(CPPFLAGS) $(OPTIONS)
  19. LDFLAGS=    $(OPTIONS)
  20. LINTFLAGS=    -bhv
  21. LINT=        lint
  22. # End Generic
  23. # Begin Sys.bsd42
  24. SYSINCLUDES=    
  25. SYSDEFS=    -DNO_MEMCPY -DNO_VOID_FPTR
  26. SYSOPTIONS=    
  27. LIBXLIB=    /usr/lib
  28. # End Sys.bsd42
  29. # Begin Make.conf
  30. SRCS=        askfile.c askync.c clip.c perror.c style.c textbrk.c
  31. OBJS=        askfile.o askync.o clip.o perror.o style.o textbrk.o
  32. all:        $(OBJS)
  33. # End Make.conf
  34. # Begin Rules
  35. all:        Makefile
  36.  
  37. Makefile:    $(CONF)/Generic $(CONF)/Rules $(CONF)/mkmk Make.conf
  38.         @echo "Makefile out-of-date -- rerun $(CONF)/mkmk"; exit 1
  39.  
  40. depend:        $(SRCS)
  41.         $(CONF)/mkdep $(CPPFLAGS) $(SRCS) >@mkdep
  42.  
  43. tags:        $(SRCS) $(HDRS)
  44.         ctags -w $(SRCS) $(HDRS)
  45.  
  46. clean::
  47.         -rm -f core *.o [,@#]*
  48.  
  49. clobber::    clean
  50.         -rm -f lib.a tags *.[A-Z]
  51.  
  52. lint:        $(SRCS) $(HDRS)
  53.         $(LINT) $(LINTFLAGS) $(CPPFLAGS) $(SRCS) $(LINTLIBS)
  54. # End Rules
  55. askfile.o: askfile.c
  56. askfile.o: ../h/tools.h
  57. askfile.o: ../h/configure.h
  58. askfile.o: /usr/include/stdio.h
  59. askfile.o: /usr/include/ctype.h
  60. askfile.o: /usr/include/strings.h
  61. askfile.o: ../h/l_defs.h
  62. askfile.o: ../h/filedefs.h
  63. askfile.o: ../h/stdwin.h
  64. askfile.o: ../h/stdevent.h
  65. askfile.o: ../h/stdtext.h
  66. askync.o: askync.c
  67. askync.o: ../h/tools.h
  68. askync.o: ../h/configure.h
  69. askync.o: /usr/include/stdio.h
  70. askync.o: /usr/include/ctype.h
  71. askync.o: /usr/include/strings.h
  72. askync.o: ../h/l_defs.h
  73. askync.o: ../h/stdwin.h
  74. askync.o: ../h/stdevent.h
  75. askync.o: ../h/stdtext.h
  76. clip.o: clip.c
  77. clip.o: ../h/tools.h
  78. clip.o: ../h/configure.h
  79. clip.o: /usr/include/stdio.h
  80. clip.o: /usr/include/ctype.h
  81. clip.o: /usr/include/strings.h
  82. clip.o: ../h/l_defs.h
  83. perror.o: perror.c
  84. perror.o: ../h/tools.h
  85. perror.o: ../h/configure.h
  86. perror.o: /usr/include/stdio.h
  87. perror.o: /usr/include/ctype.h
  88. perror.o: /usr/include/strings.h
  89. perror.o: ../h/l_defs.h
  90. perror.o: ../h/stdwin.h
  91. perror.o: ../h/stdevent.h
  92. perror.o: ../h/stdtext.h
  93. style.o: style.c
  94. style.o: ../h/tools.h
  95. style.o: ../h/configure.h
  96. style.o: /usr/include/stdio.h
  97. style.o: /usr/include/ctype.h
  98. style.o: /usr/include/strings.h
  99. style.o: ../h/l_defs.h
  100. style.o: ../h/stdwin.h
  101. style.o: ../h/stdevent.h
  102. style.o: ../h/stdtext.h
  103. style.o: ../h/style.h
  104. textbrk.o: textbrk.c
  105. textbrk.o: ../h/stdwin.h
  106. textbrk.o: ../h/stdevent.h
  107. textbrk.o: ../h/stdtext.h
  108.